package com.ruoyi.goods.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品信息对象 goods
 * 
 * @author ruoyi
 * @date 2023-01-10
 */
public class Goods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String goodId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品规格 */
    @Excel(name = "商品规格")
    private String goodSpecification;

    /** 商品类别 */
    @Excel(name = "商品类别")
    private String shangpinLeibie;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGoodId(String goodId) 
    {
        this.goodId = goodId;
    }

    public String getGoodId() 
    {
        return goodId;
    }
    public void setGoodName(String goodName) 
    {
        this.goodName = goodName;
    }

    public String getGoodName() 
    {
        return goodName;
    }
    public void setGoodSpecification(String goodSpecification) 
    {
        this.goodSpecification = goodSpecification;
    }

    public String getGoodSpecification() 
    {
        return goodSpecification;
    }
    public void setShangpinLeibie(String shangpinLeibie) 
    {
        this.shangpinLeibie = shangpinLeibie;
    }

    public String getShangpinLeibie() 
    {
        return shangpinLeibie;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("goodId", getGoodId())
            .append("goodName", getGoodName())
            .append("goodSpecification", getGoodSpecification())
            .append("shangpinLeibie", getShangpinLeibie())
            .toString();
    }
}
